package com.shycloud.mido.task.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 会员消费记录表
 */
@Data
@TableName(value = "sm_member_gold_log")
public class SmMemberGoldLog {

	/** 主键 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/** 会员ID */
	@TableField(value = "member_id")
	private String memberId;
	/** 金币 */
	@TableField(value = "gold")
	private Integer gold;
	/** 0 消费  1充值 */
	@TableField(value = "type")
	private String type;
	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;
	/** 备注 */
	@TableField(value = "comment")
	private String comment;

	public static final String COL_ID = "id";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_GOLD = "gold";

	public static final String COL_TYPE = "type";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_COMMENT = "comment";

}